Data Science with SQL Server Quick Start Guide by Dejan Sarka
Author:Dejan Sarka
Language: eng
Format: epub
Tags: COM062000 - COMPUTERS / Data Modeling and Design, COM018000 - COMPUTERS / Data Processing, COM021030 - COMPUTERS / Databases / Data Mining
Publisher: Packt Publishing
Published: 2018-08-31T07:43:39+00:00
con = pyodbc.connect('DSN=AWDW;UID=RUser;PWD=Pa$$w0rd')
query = """SELECT CustomerKey,
TotalChildren, NumberChildrenAtHome,
Gender, HouseOwnerFlag,
NumberCarsOwned, MaritalStatus,
Age, YearlyIncome, BikeBuyer,
EnglishEducation AS Education,
EnglishOccupation AS Occupation
FROM dbo.vTargetMail"""
TM = pd.read_sql(query, con)
You already know that you can create graphs with pandas. In the previous code, you can see that I imported some libraries I did not describe yet. Let me introduce them.
You will learn how to do graphs with two Python libraries: matplotlib and seaborn. Both of them are included in the Python version shipped with SQL Server ML Services (In-database). Matplotlib is a cross-platform graphics engine, used as a backbone for many other graphical functions from other libraries. Besides importing this library, you need also to import an interface to it.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8309)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6807)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6783)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6670)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6456)
Driving Data Quality with Data Contracts by Andrew Jones(6400)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6156)
Learning SQL by Alan Beaulieu(6004)
Weapons of Math Destruction by Cathy O'Neil(5797)
Big Data Analysis with Python by Ivan Marin(5396)
Data Engineering with dbt by Roberto Zagni(4402)
Solidity Programming Essentials by Ritesh Modi(4050)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3909)
Pandas Cookbook by Theodore Petrou(3613)
Blockchain Basics by Daniel Drescher(3306)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2914)
Feature Store for Machine Learning by Jayanth Kumar M J(2820)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2803)
Mastering Python for Finance by Unknown(2748)
